package com.xxzb.pack0823.线程同步.强化训练题;


public class T2 extends Test2 implements Runnable{
    private Thread thread;

    public T2(Thread thread) {
        this.thread = thread;
    }

    @Override
    public void run() {
       super.t2(thread);
        /*try {
            Thread.sleep(100);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }*/


//        Thread.yield();
    }
}
